#!/bin/bash

. /etc/profile
export HOSTNAME=zuk_z2
export TERM=xterm-256color
export TERMINFO=/usr/share/terminfo

export SHELL=/bin/sh
export TMPDIR=/tmp/

export LD_LIBRARY_PATH=/lib:/usr/lib

unset BOOTCLASSPATH
unset SYSTEMSERVERCLASSPATH


mount sysfs /sys -t sysfs
mount proc /proc -t proc
mount tmpfs /dev -t tmpfs

#mount -o bind /sdcard /home/sdcard

busybox mdev -s
mkdir /dev/pts
mount devpts /dev/pts -t devpts
chmod -R 777 /dev/
mount tmpfs /run/lock -t tmpfs -o rw,nosuid,nodev,noexec,relatime,size=5120k


exec /bin/bash
